  <% orderlist.forEach(function(item){ %>
        <div class="m-order-info wrap-box" data-href="index.php?r=order/detail&orderno=<%= item.orderno %>&ocid=<%= ocid %>">
            <div class="m-info-row"><div class="m-order-number"><span class="skey">订 单 号</span> <span class="svalue"><%= item.orderno %></span></div>
            <div data-index="<%= item.orderpaystatus %>" class="m-order-status status-type-<%= item.orderstatus %>"><%= item.orderstatusname %></div>
            </div>
            <div class="hr"></div>
			<% item.goods.forEach(function(product){ %>
               <div class="line-row">  
                   <div class="line-title"><%= product.name %></div><div class="item-price"><span class="price"><sub>¥</sub><%= product.goodsprice %></span><br /><span class="number">×<%= product.goodsnum %></span></div>
               </div>
               <div class="validity-of">有效期 <%= product.effstartdate %> - <%= product.effenddate %></div>
              <% }) %> 
              <div class="buy-single-row"><div class="t-price"><span>合计</span> <span class="price">&yen;<%= item.orderallprice %></span></div><% if (item.orderpaystatus==0 && item.orderstatus==1) { %><div class="order-opt-btn"><button type="button" data-href="javascript:void(0)" data-oid="<%= item.orderno %>" class="btn cancel">取消</button><button type="button" class="btn pay">立即支付</button></div></div><% } %></div>
    </div><div class="gap-h1"></div>
  <% }) %> 
 